package com.my.service;

import com.baomidou.mybatisplus.service.IService;
import com.my.bean.Purchasing;
import com.my.bean.ResultPage;
import com.my.bean.VoPage;

import java.util.List;

/**
 * <p>
 * 每日采购材料 服务类
 * </p>
 *
 * @author 闫亚茹
 * @since 2018-08-29
 */
public interface PurchasingService extends IService<Purchasing> {

    /**
     * 查询所有
     * @param purchasing
     * @return
     */
    List<Purchasing> select(Purchasing purchasing);

    /**
     * /查询并分页
     * @param voPage
     * @return
     */
    public ResultPage<Purchasing> selectMyPage(VoPage voPage,String  type);

    /**
     * 办公查询
     * @param purchasing
     * @return
    List<Purchasing> selectOffice(Purchasing purchasing);*/
}
